/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: PACKAGE_NAME
 * @ClassName: absolutevalue
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/10/4 15:09
 * @Copyright 金斗版板所有
 */
public class absolutevalue {

    public int VuleInt(int elements){
        int count=0;
        if (elements>0){
             count=elements;
        }else {
            elements=-elements;
            count=elements;
        }
        return count;
    }

    public double VuleInt(double elements){
        double count=0;
        if (elements>0){
            count=elements;
        }else {
            elements=-elements;
            count=elements;
        }
        return count;
    }

    public float VuleInt(float elements){
        float count=0;
        if (elements>0){
            count=elements;
        }else {
            elements=-elements;
            count=elements;
        }
        return count;
    }
}
